package com.lisa.passjava.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//开启远程调用服务
@EnableFeignClients(basePackages = "com.lisa.passjava.member.feign")
@EnableDiscoveryClient
@MapperScan("com.lisa.passjava.member.dao")
@SpringBootApplication
public class PassJavaMemberApplication {
    public static void main(String[] args) {
        SpringApplication.run(PassJavaMemberApplication.class,args);
    }
}
